import java.util.Scanner;
import java.util.Date;
import java.io.Serializable;

public class Account implements Serializable 
{
	private String id;
	private String pw;
	private String accountNum;
	private String name;
	private String address;
	private String registerNum;	// resident registration number (주민등록번호)
	private Date createdDate;		// 생성 날짜
	private int balance;
	
	// Constructor
	public Account (){

	}
	
	// GETTER
	public String getId(){
		return id;
	}

	public String getPw(){
		return pw;
	}

	public String getAccountNum(){
		return accountNum;
	}

	public String getName(){
		return name;
	}

	public String getAddress(){
		return address;
	}

	public String getRegisterNum(){
		return registerNum;
	}

	public Date getCreatedDate(){
		return createdDate;
	}

	public int getBalance(){
		return balance;
	}

	// SETTER
	public void setId(String tempId){
		id = tempId;
	}

	public void setPw(String tempPw){
		pw = tempPw;
	}

	public void setAccountNum(String tempAccountNum){
		accountNum = tempAccountNum;
	}

	public void setName(String tempName){
		name = tempName;
	}

	public void setAddress(String tempAddress){
		address = tempAddress;
	}

	public void setRegisterNum(String tempRegisterNum){
		registerNum = tempRegisterNum;
	}

	public void setCreatedDate(Date tempCreatedDate){
		createdDate = tempCreatedDate;
	}

	public void setBalance(int tempBalance){
		balance = tempBalance;
	}

	
}
